|
LinuxQMISDK
SLQS04.00.27
|
Uim Service API function prototypes. More...
Go to the source code of this file.
Macros | |
| #define | MAX_DESCRIPTION_LENGTH 255 |
| #define | MAX_CONTENT_LENGTH 1024 |
| #define | MAX_NO_OF_APPLICATIONS 10 |
| #define | MAX_NO_OF_SLOTS 5 |
| #define | MAX_PUK_LENGTH 8 |
| #define | MAX_PATH_LENGTH 255 |
| #define | MAX_ICCID_LENGTH 255 |
| #define | MAX_SLOTS_STATUS 255 |
| #define | MAX_ATR_LENGTH 255 |
| #define | MAX_PHY_SLOTS_INFO 255 |
| #define | MAX_ACTIVE_PERS_FEATURES 12 |
Uim Service API function prototypes.
| #define MAX_ACTIVE_PERS_FEATURES 12 |
| #define MAX_ATR_LENGTH 255 |
| #define MAX_CONTENT_LENGTH 1024 |
| #define MAX_DESCRIPTION_LENGTH 255 |
Copyright: © 2012-2020 Sierra Wireless, Inc. all rights reserved
| #define MAX_ICCID_LENGTH 255 |
| #define MAX_NO_OF_APPLICATIONS 10 |
| #define MAX_NO_OF_SLOTS 5 |
| #define MAX_PATH_LENGTH 255 |
| #define MAX_PHY_SLOTS_INFO 255 |
| #define MAX_PUK_LENGTH 8 |
| #define MAX_SLOTS_STATUS 255 |
| ULONG SLQSUIMAddProfile | ( | UIMAddProfileReq * | pUIMAddProfileReq | ) |
This API downloads a new profile for eUIM card.
| pUIMAddProfileReq[IN] | Structure containing Add Profile request parameters.
|
| ULONG SLQSUIMAuthenticate | ( | UIMAuthenticateReq * | pUIMAuthenticateReq, |
| UIMAuthenticateResp * | pUIMAuthenticateResp | ||
| ) |
This API executes the authentication algorithm on the card.
| pUIMAuthenticateReq[IN] |
|
| pUIMAuthenticateResp[OUT] |
|
This API executes a security command on the card that depends on
the card type.
The response contains the status code received from the card
(SW1 and SW2) when the card responded to the read request.
The client can pass a token in the request to receive the result
in a subsequent SLQSUIMAuthenticateCallback | ULONG SLQSUIMChangePin | ( | UIMChangePinReq * | pUIMChangePinReq, |
| UIMPinResp * | pUIMChangePinResp | ||
| ) |
This API changes the value of the specified PIN.
| pUIMChangePinReq[IN] |
|
| pUIMChangePinResp[OUT] |
|
This API changes the value of the specified PIN.
The application must pass both the new and the old values of the
PIN to complete the operation
The same PIN can be used by multiple sessions (i.e., the PIN is
shared between GSM and RUIM in an ICC card).
The PIN is automatically set for all the sessions when the API
is executed.
The client can pass a token in the request to receive the result
in a subsequent SLQSUIMChangePinCallback. | ULONG SLQSUIMDeleteProfile | ( | UIMDeleteProfileReq * | pUIMDeleteProfileReq | ) |
This API deletes a profile for eUIM card.
| pUIMDeleteProfileReq[IN] | Structure containing Delete Profile request parameters.
|
| ULONG SLQSUIMDepersonalization | ( | UIMDepersonalizationReq * | pUIMDepersonilizationReq, |
| UIMDepersonalizationResp * | pUIMDepersonilizationResp | ||
| ) |
This API de-activates or unblocks the personalization on the phone.
| pUIMDepersonilizationReq[IN] |
|
| pUIMDepersonilizationResp[OUT] |
|
This API deactivates or unblocks the personalization on the phone.
Each feature can be deactivated/unblocked independently of the
other features. | ULONG SLQSUIMeUICCMemReset | ( | UIMeUICCMemResetReq * | pUIMeUICCMemResetReq | ) |
This API changes the status of a service on the card.
| pUIMeUICCMemResetReq[IN] | Structure containing eUICC memory reset request parameters.
|
| ULONG SLQSUIMEventRegister | ( | UIMEventRegisterReqResp * | pUIMEventRegisterReqResp | ) |
This API Registers for event notifications from the card.
| pUIMEventRegisterReqResp[IN/OUT] |
|
This function registers for event notifications from the card.
The client must verify the mask in the response to determine
which events were registered successfully. Events not supported
correctly are not registered. The client can deregister from
all event notifications by passing “0x00000000” bitmask in the
request. | ULONG SLQSUIMGetCardStatus | ( | UIMGetCardStatusResp * | pUIMGetCardStatusResp | ) |
This API retrieves the current status of the card.
| pUIMGetCardStatusResp[OUT] |
|
This function retrieves the current status of the card(activated)
and the status of all applications available on the card.
The function also returns support information for the hot-swap
feature and the status of the switch used to detect a card
removal/insertion.
Please use \ref SLQSUIMGetSlotsStatus to retrieves active and
inactivate SIMs status. | ULONG SLQSUIMGetCardStatusV2 | ( | UIMGetCardStatusRespV2 * | pUIMGetCardStatusResp | ) |
This API retrieves the current status of the card -V2.
| pUIMGetCardStatusResp[OUT] |
|
This function retrieves the current status of the card(activated)
and the status of all applications available on the card.
The function also returns support information for the hot-swap
feature and the status of the switch used to detect a card
removal/insertion.
Please use \ref SLQSUIMGetSlotsStatus to retrieves active and
inactivate SIMs status. | ULONG SLQSUIMGetConfiguration | ( | UIMGetConfigurationReq * | pUIMGetConfigurationReq, |
| UIMGetConfigurationResp * | pUIMGetConfigurationResp | ||
| ) |
This API Gets the modem configuration for the UIM module.
| pUIMGetConfigurationReq[IN] |
|
| pUIMGetConfigurationResp[OUT] |
|
| ULONG SLQSUIMGetEID | ( | UIMGetEidReq * | pSlotID, |
| UIMGetEidResp * | pResp | ||
| ) |
This API retrieves the eUICC ID for the given slot.
| pSlotID[IN] |
|
| pResp[OUT] |
|
| ULONG SLQSUIMGetFileAttributes | ( | UIMGetFileAttributesReq * | pUIMGetFileAttributesReq, |
| UIMGetFileAttributesResp * | pUIMGetFileAttributesResp | ||
| ) |
This API retrieves the file attributes for any Elementary File(EF) or Dedicated File(DF) in the card and provides access by the path.
| pUIMGetFileAttributesReq[IN] |
|
| pUIMGetFileAttributesResp[OUT] |
|
This API retrieves the file attributes for any Elementary File(EF)
or Dedicated File(DF) in the card and provides access by the path.
The response contains the status code received from the card
(SW1 and SW2) when the card responded to the select request.
The client can pass a token in the request to receive the result
in a subsequent SLQSUIMGetFileAttributesCallback. | ULONG SLQSUIMGetProfileInfo | ( | UIMGetProfileInfoReq * | pUIMGetProfileInfoReq, |
| UIMGetProfileInfoResp * | pUIMGetProfileInfoResp | ||
| ) |
This API Queries the profile information from the card.
| pUIMGetProfileInfoReq[IN] |
|
| pUIMGetProfileInfoResp[OUT] |
|
| ULONG SLQSUIMGetServiceStatus | ( | UIMGetServiceStatusReq * | pUIMGetServiceStatusReq, |
| UIMGetServiceStatusResp * | pUIMGetServiceStatusResp | ||
| ) |
This API retrieves the status of a service on the card.
| pUIMGetServiceStatusReq[IN] | Structure containing Get Service Status request parameters.
|
| pUIMGetServiceStatusResp[OUT] | Structure containing Get Service Status response parameters.
|
This function retrieves the status of the services on the card.
As a current limitation, it is possible to request only one
service status in each request.
The function supports only provisioning sessions. | ULONG SLQSUIMGetSIMProfile | ( | UIMGetSIMProfileReq * | pUIMGetSIMProfileReq, |
| UIMGetSIMProfileResp * | pUIMGetSIMProfileResp | ||
| ) |
This API queries the profile information from the card.
| pUIMGetSIMProfileReq[IN] |
|
| pUIMGetSIMProfileResp[OUT] |
|
| ULONG SLQSUIMGetSlotsStatus | ( | UIMGetSlotsStatusResp * | pResp | ) |
This API Retrieves the current of the physical and logical slots.
| pResp[OUT] |
|
| ULONG SLQSUIMGetSlotsStatusV2 | ( | UIMGetSlotsStatusRespV2 * | pResp | ) |
This API Retrieves the current of the physical and logical slots.
| pResp[OUT] |
|
| ULONG SLQSUIMPowerDown | ( | UIMPowerDownReq * | pUIMPowerDownReq | ) |
This API powers down the SIM card.
| pUIMPowerDownReq[IN] |
|
This function powers down the card.
This is usually performed when the phone is switched off or when
it is set to Airplane mode. | ULONG SLQSUIMPowerUp | ( | UIMPowerUpReq * | pUIMPowerUpReq | ) |
This API powers up the SIM card.
| pUIMPowerUpReq[IN] |
|
This function powers up the card.
This is usually performed when the phone is switched off or when
it is set to Airplane mode. | ULONG SLQSUIMReadRecord | ( | UIMReadRecordReq * | pUIMReadRecordReq, |
| UIMReadRecordResp * | pUIMReadRecordResp | ||
| ) |
This API executes the Read Record algorithm on the card.
| pUIMReadRecordReq[IN] |
|
| pUIMReadRecordResp[OUT] |
|
This API provides read access to a specific record in a linear
fixed or cyclic file in the card and provides access by the path.
The response contains the status code received from the card
(SW1 and SW2) when the card responded to the read request.
The client can pass a token in the request to receive the result
in a subsequent QMI_UIM_READ_RECORD_IND indication. | ULONG SLQSUIMReadTransparent | ( | UIMReadTransparentReq * | pUIMReadTransparentReq, |
| UIMReadTransparentResp * | pUIMReadTransparentResp | ||
| ) |
This API executes the Read Transparent algorithm on the card.
| pUIMReadTransparentReq[IN] |
|
| pUIMReadTransparentResp[OUT] |
|
This API Provides read access to any transparent file in the
card and provides access by the path.
The response contains the status code received from the card
(SW1 and SW2) when the card responded to the read request.
The client can pass a token in the request to receive the result
in a subsequent QMI_UIM_READ_TRANSPARENT_IND indication. | ULONG SLQSUIMRefreshComplete | ( | UIMRefreshCompleteReq * | pUIMRefreshCompleteReq | ) |
This API invoked when the client has finished the Refresh procedure.
| pUIMRefreshCompleteReq[IN] |
|
This function is invoked when the client has finished the Refresh
procedure (has reread all the cached files) and communicates this
to the modem. This function enables the terminal response to be
sent to the card | ULONG SLQSUIMRefreshGetLastEvent | ( | UIMRefreshGetLastEventReq * | pUIMRefreshGetLastEventReq, |
| UIMRefreshGetLastEventResp * | pUIMRefreshGetLastEventResp | ||
| ) |
This API provides the ability to retrieve the last refresh event.
| pUIMRefreshGetLastEventReq[IN] |
|
| pUIMRefreshGetLastEventResp[OUT] |
|
This function provides the ability to retrieve the last refresh
event. The event information is usually passed in as an indication
from the QMI to the application and is saved by the application at
that time. If the event information is not saved, the client can
retrieve the last refresh event.
Details regarding the Refresh procedure (i.e., the stages and
actions that an application must complete) are described in
document: 80-VM566-1(NAA Refresh High Level Guide ) | ULONG SLQSUIMRefreshOK | ( | UIMRefreshOKReq * | pUIMRefreshOKReq | ) |
This API Enables the client to indicate whether it is OK to start the Refresh procedure.
| pUIMRefreshOKReq[IN] |
|
This function enables the client to indicate whether it is OK to
start the Refresh procedure. This command is used only after a
refresh event is received, which indicates the need to vote. | ULONG SLQSUIMRefreshRegister | ( | UIMRefreshRegisterReq * | pUIMRefreshRegisterReq | ) |
This API Registers for file change notifications triggered by the card.
| pUIMRefreshRegisterReq[IN] |
|
This function registers for file change notifications triggered
by the card. The client can specify a list of files. The client
is notified only when one of the files is modified by the Refresh
procedure. This function can be invoked multiple times for each
session type. If the function is invoked twice with the same session
type, the new values overwrite the previous values. The client can
also use this function to stop receiving indications of the refresh.
This API should be invoked prior to the invocation of the
SLQSUIMSetRefreshCallBack for the events to be registered. | ULONG SLQSUIMReset | ( | ) |
This API resets the issuing control points state kept by the service.
| None |
The list of events to which the client is registered is emptied.
The client must register again using the SLQSUIMEventReg API
to start receiving the events again. This would mean that the
callback registrations would be reset after this API. | ULONG SLQSUIMSetPinProtection | ( | UIMSetPinProtectionReq * | pUIMSetPinProtectionReq, |
| UIMPinResp * | pUIMSetPinProtectionResp | ||
| ) |
This API enables or disables the protection of the UIM contents by a specific PIN.
| pUIMSetPinProtectionReq[IN] |
|
| pUIMSetPinProtectionResp[OUT] |
|
This API enables or disables the protection of UIM contents by a
specific PIN.
The same PIN can be used by multiple sessions (i.e., the PIN is
shared between GSM and RUIM in an ICC card).
The PIN is automatically set for all the sessions when the API
is executed.
The client can pass a token in the request to receive the result
in a subsequent SLQSUIMSetPinProtectionCallback indication. | ULONG SLQSUIMSetServiceStatus | ( | UIMSetServiceStatusReq * | pUIMSetServiceStatusReq | ) |
This API changes the status of a service on the card.
| pUIMSetServiceStatusReq[IN] | Structure containing Set Service Status request parameters.
|
This function sets the status of a service on the card.
It currently supports only the FDN status, but can be extended
in the future for other services.
The function supports only provisioning sessions. | ULONG SLQSUIMSetSIMProfile | ( | UIMSetSIMProfileReq * | pUIMSetSIMProfileReq | ) |
This API changes the status of a service on the card.
| pUIMSetSIMProfileReq[IN] | Structure containing Set Service Status request parameters.
|
| ULONG SLQSUIMSwitchSlot | ( | UIMSwitchSlotReq * | pReq | ) |
This API Switches the binding between a logical slot and a physical slot.
| pReq[IN] |
|
Please wait at least one second before this API call again.
| ULONG SLQSUIMUnblockPin | ( | UIMUnblockPinReq * | pUIMUnblockPinReq, |
| UIMPinResp * | pUIMUnblockPinResp | ||
| ) |
This API unblocks a blocked PIN using the PUK code.
| pUIMUnblockPinReq[IN] |
|
| pUIMUnblockPinResp[OUT] |
|
This API unblocks a blocked PIN using the PUK code.
The client must pass PUK1 to unblock PIN1 or PUK2 to unblock PIN2.
The same PIN can be used by multiple sessions (i.e., the PIN is
shared between GSM and RUIM in an ICC card).
The PIN is automatically set for all the sessions when the API
is executed.
The client can pass a token in the request to receive the result
in a subsequent SLQSUIMUnblockPinCallback. | ULONG SLQSUIMUnblockPinV2 | ( | UIMUnblockPinReq * | pUIMUnblockPinReq, |
| UIMPinRespV2 * | pUIMUnblockPinResp | ||
| ) |
This API unblocks a blocked PIN using the PUK code -V2.
| pUIMUnblockPinReq[IN] |
|
| pUIMUnblockPinResp[OUT] |
|
This API unblocks a blocked PIN using the PUK code.
The client must pass PUK1 to unblock PIN1 or PUK2 to unblock PIN2.
The same PIN can be used by multiple sessions (i.e., the PIN is
shared between GSM and RUIM in an ICC card).
The PIN is automatically set for all the sessions when the API
is executed.
The client can pass a token in the request to receive the result
in a subsequent SLQSUIMUnblockPinCallback. | ULONG SLQSUIMUpdateProfile | ( | UIMUpdateProfileReq * | pUIMUpdateProfileReq | ) |
This API updates a profile nick name for eUIM card.
| pUIMUpdateProfileReq[IN] | Structure containing Update Profile request parameters.
|
| ULONG SLQSUIMVerifyPin | ( | UIMVerifyPinReq * | pUIMVerifyPinReq, |
| UIMPinResp * | pUIMVerifyPinResp | ||
| ) |
This API verifies the PIN before the card content is accessed.
| pUIMVerifyPinReq[IN] |
|
| pUIMVerifyPinResp[OUT] |
|
This API verifies the PIN before the card content is accessed.
The same PIN can be used by multiple sessions (i.e., the PIN is
shared between GSM and RUIM in an ICC card).
The PIN is automatically set for all the sessions when the API
is executed.
The client can pass a token in the request to receive the result
in a subsequent SLQSUIMVerifyPinCallback. | ULONG SLQSUIMWriteRecord | ( | UIMWriteRecordReq * | pUIMWriteRecordReq, |
| UIMWriteRecordResp * | pUIMWriteRecordResp | ||
| ) |
This API executes the Write Record algorithm on the card.
| pUIMWriteRecordReq[IN] |
|
| pUIMWriteRecordResp[OUT] |
|
This API provides write access to a specific record in a linear
fixed or cyclic file in the card and provides access by the path.
The response contains the status code received from the card
(SW1 and SW2) when the card responded to the write request.
The client can pass a token in the request to receive the result
in a subsequent QMI_UIM_WRITE_RECORD_IND indication. | ULONG SLQSUIMWriteTransparent | ( | UIMWriteTransparentReq * | pUIMWriteTransparentReq, |
| UIMWriteTransparentResp * | pUIMWriteTransparentResp | ||
| ) |
This API executes the Write Transparent algorithm on the card.
| pUIMWriteTransparentReq[IN] |
|
| pUIMWriteTransparentResp[OUT] |
|
This API provides access to any transparent file in the card and
provides access by the path.
The response contains the status code received from the card
(SW1 and SW2) when the card responded to the write request.
The client can pass a token in the request to receive the result
in a subsequent SLQSUIMWriteTransparentCallback.